package com.landleaf.smarthome.model;

import java.io.Serializable;

/**
 * When I wrote this, only God and I understood what I was doing
 * Now, God only knows
 * Created by 海航
 * 2020/8/27
 * 功能描述:
 */
public class DeviceAttribute implements Serializable {
    private String attrTag;
    private String attrValue;
    private int addValue;//485等协议中点表里面具体的值
    public DeviceAttribute() {
    }

    public DeviceAttribute(String attrTag, String attrValue) {
        this.attrTag = attrTag;
        this.attrValue = attrValue;
    }

    public DeviceAttribute(String attrTag, int addValue) {
        this.attrTag = attrTag;
        this.addValue = addValue;
    }

    public int getAddValue() {
        return addValue;
    }

    public void setAddValue(int addValue) {
        this.addValue = addValue;
    }

    public String getAttrTag() {
        return attrTag;
    }

    public void setAttrTag(String attrTag) {
        this.attrTag = attrTag;
    }

    public String getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue;
    }
}
